most recent changes, diff for gcc_select

Index: sysutils/gcc_select/Portfile
--- sysutils/gcc_select/Portfile (revision 34456)
+++ sysutils/gcc_select/Portfile (revision 34457)
@@ -4,6 +4,7 @@

name gcc_select
version 0.1
+revision 1
categories sysutils
platforms darwin
maintainers mww
@@ -19,10 +20,15 @@

configure.args --mandir=${prefix}/share/man --name=gcc

+post-destroot {
+ xinstall -m 644 -W ${filespath} base \
+ ${destroot}${prefix}/etc/select/gcc
+}
+
# install & select gcc33
platform darwin 7 {
post-destroot {
- xinstall -m 644 -W ${filespath} base gcc33 \
+ xinstall -m 644 -W ${filespath} gcc33 \
${destroot}${prefix}/etc/select/gcc
system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc33"
}
@@ -31,7 +37,7 @@
# install gcc33, gcc40 & select gcc40
platform darwin 8 ppc {
post-destroot {
- xinstall -m 644 -W ${filespath} base gcc40 gcc33 \
+ xinstall -m 644 -W ${filespath} gcc40 gcc33 \
${destroot}${prefix}/etc/select/gcc
system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
}
@@ -40,10 +46,19 @@
# install & select gcc40
platform darwin 8 i386 {
post-destroot {
- xinstall -m 644 -W ${filespath} base gcc40 \
+ xinstall -m 644 -W ${filespath} gcc40 \
${destroot}${prefix}/etc/select/gcc
system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
}
}

+# install & select gcc40
+platform darwin 9 {
+ post-destroot {
+ xinstall -m 644 -W ${filespath} gcc40 \
+ ${destroot}${prefix}/etc/select/gcc
+ system "${destroot}${prefix}/bin/${name} -i ${destroot} gcc40"
+ }
+}
+
livecheck.check none